package com.raymond.client.config;

/**
 * 连接配置
 * @author :  raymond
 * @version :  V1.0
 * @date :  2022-10-26 17:44
 */
public class SocketConfig {
    /** host **/
    private String host;
    /** port **/
    private int port;
    /** 连接超时时间 **/
    private long connectTimeout;

    public SocketConfig(String host, int port, long connectTimeout) {
        this.host = host;
        this.port = port;
        this.connectTimeout = connectTimeout;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public long getConnectTimeout() {
        return connectTimeout;
    }

    public void setConnectTimeout(long connectTimeout) {
        this.connectTimeout = connectTimeout;
    }
}
